<?php $path = base_url().'public/frontend/';?>
<!DOCTYPE html >

<html>
<head><meta http-equiv="Content-Type" content="text/htm; charset=UTF-8">

<title>Comfort Selection - Furniture htm Template</title>
<!-- start : page css here -->
<link rel="stylesheet" href="<?php echo $path ;?>css/themes/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $path ;?>css/themes/nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $path ;?>css/menu.css">
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $path ;?>css/footer.css">
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $path ;?>css/style.css">

<!-- end : page css here -->


<script type="text/javascript" src="<?php echo $path ;?>scripts/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="<?php echo $path ;?>scripts/jquery.nivo.slider.js"></script>

<!--  start : cu3er insert path to SWFObject JavaScript -->
<script type="text/javascript" src="<?php echo $path ;?>scripts/swfobject.js"></script>
<!-- cu3er configure SWFObject JavaScript and embed CU3ER slider -->
<script type="text/javascript">
		var flashvars = {};
		flashvars.xml = "config.xml";
		var attributes = {};
		attributes.wmode = "transparent";
		attributes.id = "slider";
		swfobject.embedSWF("cu3er.swf", "cu3er-container", "960", "300", "9", "expressInstall.swf", flashvars, attributes);
</script>
<style type="text/css" media="screen">#cu3er-container {visibility:hidden}</style>
<!--  end : cu3er insert path to SWFObject JavaScript -->
<!-- start : fancybox -->
<link rel="stylesheet" type="text/css" href="<?php echo $path ;?>css/fancybox.css" media="screen">
<script type="text/javascript" src="<?php echo $path ;?>scripts/easing.1.3.js"></script>
<script type="text/javascript" src="<?php echo $path ;?>scripts/fancybox-1.2.1.pack.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$("a.fancy").fancybox();
		$('#slider').nivoSlider();
	});
</script>

</head>
<body >
<!-- start : header  -->
<div class="header">
	
		<div class="logo">
        <a href="#"><img src="<?php echo $path ;?>images/logo.png" width="311" height="89" alt="Logo"></a>
  	</div>
	
	<div class="clear"></div>
	<div id="menu">
		<?php $this->load->view('frontend/menu');?>
	</div>	
		
</div>
<div id="slideshow">
<?php $this->load->view('frontend/slideshow');?>
</div>


<div id="middle_content">
      <!-- start : left_content -->
      <div id="left_content">
            <!-- start : content -->
            <div class="content">
               
                  <p><?php echo word_limiter($about[0]['intro_home'],50)  ;?> <a href="#" class="read">read</a></p>
                
            </div>
            <!-- end : content -->
            <div class="clear">&nbsp;</div>
            <h3>Latest products</h3>
            <!-- start : item_box  -->
            <ul class="item_box">
                  <?php  foreach ($latproducts as $product) { 

                   echo '<li> <div class="item-info"> <span class="fl">' . 'Item: ' . $product['product_label']. '<br>'. 'Price: ' . $product['product_price'].
                             '</span> <span class="fr"> <a href="'.$frontend.'single_product/'.$product['product_id'] .'"><img src="'. $frontendimg.'cart.png" alt=""></a> </span> </div>
                        <a href="'.$frontend.'single_product/'.$product['product_id'] .'"> <img src="'.base_url() .'public/images/'.$product['product_image']  .'" alt="" class="img_border" width="200" height="130"> </a>
                        <p>'. word_limiter($product['product_description'],15). ' </p>
                  </li>' ;} ?> 
                 
            </ul>
		 <!-- end : item_box  -->
            <div class="clear"></div>
      </div>

      <!-- end : left_content -->
      <!-- start : sidebar -->
      
      <div id="right_content">
          <?php $this->load->view('frontend/sidebar');?>
       </div>
      
      <!-- end : grid4 -->
      <!-- end : content -->
</div>
<!-- end : container -->
<div class="clear"></div>
<!-- start : footer -->
<div class="footer">
	<!-- start : container -->
	<?php $this->load->view('frontend/footer');?>
</div>
<!-- end : footer -->

<div id="fancy_overlay"></div><div id="fancy_wrap"><div class="fancy_loading" id="fancy_loading"><div></div></div><div id="fancy_outer"><div id="fancy_inner"><div id="fancy_close"></div><div id="fancy_bg"><div class="fancy_bg fancy_bg_n"></div><div class="fancy_bg fancy_bg_ne"></div><div class="fancy_bg fancy_bg_e"></div><div class="fancy_bg fancy_bg_se"></div><div class="fancy_bg fancy_bg_s"></div><div class="fancy_bg fancy_bg_sw"></div><div class="fancy_bg fancy_bg_w"></div><div class="fancy_bg fancy_bg_nw"></div></div><a href="javascript:;" id="fancy_left"><span class="fancy_ico" id="fancy_left_ico"></span></a><a href="javascript:;" id="fancy_right"><span class="fancy_ico" id="fancy_right_ico"></span></a><div id="fancy_content"></div><div id="fancy_title"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td class="fancy_title" id="fancy_title_left"></td><td class="fancy_title" id="fancy_title_main"><div></div></td><td class="fancy_title" id="fancy_title_right"></td></tr></tbody></table></div></div></div></div><div><embed id="lingoes_plugin_object" type="application/lingoes-npruntime-capture-word-plugin" hidden="true" width="0" height="0">
</div>
</body>
</html>